package artid.com.arttogoa.parser;

import java.io.Serializable;

import org.json.JSONObject;

public class Registered extends AppItem implements Serializable {
	public String getToken() {
		return token;
	}


	public void setToken(String token) {
		this.token = token;
	}


	public String getUid() {
		return uid;
	}


	public void setUid(String uid) {
		this.uid = uid;
	}


	public String getRealname() {
		return realname;
	}


	public void setRealname(String realname) {
		this.realname = realname;
	}


	public String getMobile() {
		return mobile;
	}


	public void setMobile(String mobile) {
		this.mobile = mobile;
	}


	public String getAvatarurl() {
		return avatarurl;
	}


	public void setAvatarurl(String avatarurl) {
		this.avatarurl = avatarurl;
	}


	String token;
	String uid;
	String realname;
	String mobile;
	String avatarurl;
	

	@Override
	public void parse(JSONObject obj) {
		if (null == obj) {
			return;
		}
		token = obj.optString("token");
		uid = obj.optString("uid");
		realname = obj.optString("realname");
		mobile = obj.optString("mobile");
		avatarurl = obj.optString("avatarurl");
	}

	

}
